import request from '@/utils/request'

// 查询签约管理列表
export function listContractlog(query) {
  return request({
    url: '/contractlog/contractlog/list',
    method: 'get',
    params: query
  })
}

// 查询签约管理详细
export function getContractlog(id) {
  return request({
    url: '/contractlog/contractlog/' + id,
    method: 'get'
  })
}

// 新增签约管理
export function addContractlog(data) {
  return request({
    url: '/contractlog/contractlog',
    method: 'post',
    data: data
  })
}

// 修改签约管理
export function updateContractlog(data) {
  return request({
    url: '/contractlog/contractlog',
    method: 'put',
    data: data
  })
}

// 删除签约管理
export function delContractlog(id) {
  return request({
    url: '/contractlog/contractlog/' + id,
    method: 'delete'
  })
}
